import 'package:bookshelf/generated/json/base/json_field.dart';
import 'package:bookshelf/generated/json/scode_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class ScoreEntity {

	@JSONField(name: "book_id")
	String? bookId;
	@JSONField(name: "book_no")
	String? bookNo;
	int? score;

  ScoreEntity();

  factory ScoreEntity.fromJson(Map<String, dynamic> json) => $ScoreEntityFromJson(json);

  Map<String, dynamic> toJson() => $ScoreEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}